<style>
    .dialog-sp{
        background-color: #1ab394;
    }
    .dialog-group-sp{
        float: left;
    }
</style>

<div class="row" ms-controller="Test">
    <!--标题-->
    <div class="col-md-12">

        <div class="row">
            <div class="search_head col-md-8" style="margin-top: 10px">
                <span style=" font-size: 15px;margin-left: 20px">层次 </span><input type="text" class="form-control" style=" display: inline-block;width: 150px;" >
                <span style=" font-size: 15px;margin-left: 20px">科目</span><select class="form-control" style=" display: inline-block;width: 150px;"><option></option></select>
                <span style=" font-size: 15px;margin-left: 20px">专业</span><select class="form-control" style=" display: inline-block;width: 150px;"><option></option></select>
                <span style=" font-size: 15px;">用户名 </span><input type="text" class="form-control" style=" display: inline-block;width: 150px;">
                <span style=" font-size: 15px;">身份证号 </span><input type="text" class="form-control" style=" display: inline-block;width: 150px;">
                <button type="button" class="btn btn-default navbar-btn" style="margin-left: 20px"
                        :click="@waysallfn">查询
                </button></div>



            <!-- 列表-->
            <br>

            <table class="table table-responsive table-bordered" style="margin: 50px 0;text-align: center;" id="userTable">
                <thead style="word-break: keep-all;white-space: nowrap">
                <tr>
                    <!--<td><input type="checkbox">&nbsp;全选</td>-->
                    <!--<td style="display: none">UID</td>-->
                    <td style="min-width: 40px;text-align: right">#</td>
                    <td>用户名</td>
                    <td>身份证号</td>
                    <td>层次</td>
                    <td>专业</td>
                    <td>科目</td>
                    <td>试卷</td>
                    <td>答案</td>
                    <!--<td>分数</td>-->
                    <td style="min-width: 145px;">操作</td>
                </tr>
                </thead>
                <tbody>
                <tr ms-for="(k,v) in @waysall" class="ola-pointer">
                    <td  style="text-align: right">
                        {{k+1}}
                    </td>
                    <td >
                        <input type="checkbox" style="display: none;">&nbsp;&nbsp;{{v.Name}}
                    </td>
                    <td>{{v.DXnumber}}道({{v.DXscore}}分/道)</td>
                    <td>{{v.DDXnumber}}道({{v.DDXscore}}分/道)</td>
                    <!--<td onclick="Translayer(v.CID)">Translayer({{v.CID}})</td>-->
                    <td>{{v.DTnumber}}道({{v.DTscore}}分/道)</td>
                    <td>{{v.Score}}</td>
                    <td>{{v.KID}}</td>
                    <td>{{v.SID}}</td>
                    <td></td>
                    <td>
                        <!--<button class="btn btn-sm btn-link" >修改</button>-->
                        <button class="btn btn-sm btn-link" >删除</button>
                    </td>
                </tr>
                </tbody>
                <tfoot>
                <tr>
                    <td style="display: none;">
                        <input type="checkbox" >全选
                    </td>
                    <td colspan="80">
                        <div class="row">
                            <button class="btn btn-sm btn-link" style="float: right;margin-right: 10%">  批量删除</button>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="80">
                        <div class="row">
                            <div class="col-md-5">
                                <span>第&nbsp;</span><span>{{@Search.P}}</span><span>&nbsp;页</span>&nbsp;&nbsp;
                                <span>共&nbsp;</span><span>{{@Search.TP}}</span><span>&nbsp;页</span>
                            </div>
                            <div class="col-md-5">
                                <ul class="pagination" style="margin: 0 0 0 0;">
                                    <li :if="@waysall.P>1"><a :click="@waysall.P--">&laquo;</a></li>
                                    <li :for="v in @Search.Pages" :click="@Search.P=v"><a
                                            :class="[(@Search.P==v?'selected':'')]">{{v}}</a></li>
                                    <li :if="@Search.P<@Search.TP"><a :click="@Search.P++">&raquo;</a></li>
                                </ul>
                            </div>
                        </div>
                    </td>
                </tr>
                </tfoot>
            </table>


            <!-- 分页-->
            <div style="margin-bottom: 120px;">
            </div>
            <div :if="@html.length>0" class="layui-layer-shade" id="layui-layer-shade" times="1"
                 style="z-index:19891014; background-color:#000; opacity:0.3; filter:alpha(opacity=30);"></div>
            <div :if="@html.length>0" class="layui-layer layui-layer-page layui-layer-demo layer-anim-02"
                 type="page" times="1" showtime="0" contype="string"
                 style="z-index: 19891015; width: 80%; height: 80%; top: 87.5px; left: 144px;">
                <div id="" class="layui-layer-content" style="height: 698px;" ms-html="@html">
                </div>
                <span class="layui-layer-setwin"><a class="layui-layer-ico layui-layer-close layui-layer-close2"
                                                    href="javascript:;" :click-1="@html=''" :click-2="@Type='List'">

        </a></span><span class="layui-layer-resize"></span>
            </div>
        </div>

    </div>
